package com.victor.entity.group;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.victor.entity.Jingqulist;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *团游报名表
 * 
 */
@Entity
@Table(name = "t_grouptoursignup")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GroupTour_Signup {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY) // 主键类型--自动递增生成
	@Column(name = "id", unique = true, nullable = false, length = 11)
	private Integer id;// 主键id,
	
	@Column(name = "grouptourid", length = 50)
	private String grouptourid;// 团游id
	
	@Column(name = "jointime", length = 50)
	private String jointime;// 参加时间
	
	@Column(name = "uid", length = 50)
	private String uid;// 参团人id
	
	@Column(name = "uname", length = 50)
	private String uname;// 参团人姓名
	
	@Column(name = "uphone", length = 50)
	private String uphone;// 参团人电话
	
	@Column(name = "personnum", length = 50)
	private String personnum;// 出行人数
	
	@Transient
	private GroupTour groupTour;

}
